package com.newly.center.sys;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author gjm guan
 * @date 2021/8/19 16:17
 * @desc 用户服务启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.newly")
@EnableFeignClients(basePackages = {
        "com.newly.api"
})
@MapperScan("com.newly.common.mapper")
public class NewlySysStart {

    public static void main(String[] args) {
        SpringApplication.run(NewlySysStart.class, args);
    }

}
